 <html>
 <head>
 <title>Add theme</title>
 <link rel="stylesheet" type="text/css" href="<?php echo base_url();?>application/styles/admin/style.css" />
 </head>
 <body>
 <div>
      <?php echo form_open_multipart('admin/home/savetheme'); ?>
                  <?php echo form_input('title'); ?><br />
                  <?php echo form_textarea('description'); ?> <br />
                  <?php echo form_upload('icon'); ?> <br />
                  <?php echo form_dropdown('parent',$dropdown); ?> <br />
                  <?php echo form_submit('submit','Add'); ?><br />
                  <?php echo form_close(); ?><br /> 
 </div>
 <div><?php if(!empty($themes)){ foreach($themes as $key=>$value){ ?>
        <table><?php echo '<tr><td>' . $value . '</td><td><a href=' 
                          . base_url() . 'admin/home/deletetheme/'.$key. '>Delete</a></td></tr>'; }}?></table>
    </div>
 </body>
 </html>
